﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ibba.src.norisk.ServiceImplementation
{
    public class TranslateBaseCalculoRisco
    {

        public static List<Contracts.BaseCalculoRisco> Translate(List<BusinessEntities.BaseCalculoRisco> pBaseCalculoRisco)
        {

            return ((
                        from p in pBaseCalculoRisco
                        select new Contracts.BaseCalculoRisco()
                        {
                            codigo= p.codigo ,
                            descricao = p.descricao,
                            
                        }
                     ).ToList()
                  );
        }
    }
}
